-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed Plyr container not resizing responsively #1651
Conversation
just tested it and it works |
Thanks for looking into this and creating a decent PR! 👍 The only styling I'm concerned about is the Edit: Also, setting height on the video wrapper may break the ratio functionality. I'll do some testing though. |
@sampotts Thanks for the quick response! The I think it may also matter in which context users currently use Plyr. If they use it somewhere like a blog, the |
@sampotts Why is |
It was this pull request: I'm guessing it needs reverting then? |
@sampotts im not the expert but after they removed it, its is back to this issues |
When I initially made this PR, the |
Could you try |
but for vertical vids this happens without with |
@sampotts it should be like this #1651 (comment) |
@kgnfth Could you try adding |
@shravan2x same as above you can try here https://tumbly.gocloud.fun/test/lolvideoslol |
I think I have a solution that should fix both this issue and the other one. Working on another PR now. |
@kgnfth Could you try |
Thanks for working this out and sorry for the hassle 👍 |
Link to related issue (if applicable): #1634
Summary of proposed changes
The main change was adding
height: 100%
s in a few places. I also had to updatepreview-thumbnails.js
to support the new changes.Checklist
develop
as the base branch/dist
changes) from the PRI use these fixes in a private app and they work fine. However, I had to change them a little when I copied them over. So this PR needs to be tested to verify that
I'd appreciate help testing it since I'm not able to do it myself at the moment.